﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    public partial class Mdc2MzPatientView
    {
        public string Hiscode { get; set; } = null!;
        public long Patientid { get; set; }
        public long Clinicno { get; set; }
        public long Patcode { get; set; }
        public string? Arcbasid { get; set; }
        public string? Patientname { get; set; }
        public string Sex { get; set; } = null!;
        public DateTime? Birthdate { get; set; }
        public string? Age { get; set; }
        public string? Height { get; set; }
        public string? Weight { get; set; }
        public string? Identitycard { get; set; }
        public string? Telephone { get; set; }
        public string? Address { get; set; }
        public int Visited { get; set; }
        public int? Deptcode { get; set; }
        public string? Deptname { get; set; }
        public string? Enddate { get; set; }
        public int? Doctorcode { get; set; }
        public string? Doctorname { get; set; }
        public string Medgroupcode { get; set; } = null!;
        public string Medgroupname { get; set; } = null!;
        public string Payclass { get; set; } = null!;
        public int? IsEmergency { get; set; }
        public int IsPreg { get; set; }
        public int PregStarttime { get; set; }
        public int IsLact { get; set; }
        public int HepDamage { get; set; }
        public int RenDamage { get; set; }
        public string? Cardid { get; set; }
        public string Mrid { get; set; } = null!;
        public int? Firstvis { get; set; }
        public int Medicaretype { get; set; }
        public int Medicalcharge { get; set; }
        public int Hospitallevel { get; set; }
        public int Multidaydosepriv { get; set; }
        public int VisitNum { get; set; }
        public string RegisMethodCode { get; set; } = null!;
        public string RegisMethod { get; set; } = null!;
        public string RegisTypeCode { get; set; } = null!;
        public string RegisType { get; set; } = null!;
        public decimal? RegisRawPrice { get; set; }
        public decimal? RegisPaidPrice { get; set; }
        public int? OccupationCode { get; set; }
        public string? OccupationName { get; set; }
        public string? Nationality { get; set; }
        public string? EthnicGroup { get; set; }
        public string? Education { get; set; }
        public string? MaritalStatus { get; set; }
        public string? CertificateType { get; set; }
        public string? CertificateNo { get; set; }
        public int? HealthCardType { get; set; }
        public string? HealthCardNo { get; set; }
        public string? InsuranceNo { get; set; }
        public string? ResidenceProvince { get; set; }
        public string? ResidenceCity { get; set; }
        public string? ResidenceCounty { get; set; }
        public string AboType { get; set; } = null!;
        public string RhType { get; set; } = null!;
        public string IsTumour { get; set; } = null!;
        public string DrugorderFlag { get; set; } = null!;
        public string DrugcostFlag { get; set; } = null!;
        public string Standby { get; set; } = null!;
    }
}
